import mods.createsifter.SiftingManager;

###create###

#安山合金
    craftingTable.remove(<item:create:andesite_alloy>);

    craftingTable.addShaped("create.andesite_alloy1",<item:kubejs:incompleted_andesite_alloy>,
    [[<tag:items:forge:nuggets/brass>,<item:tfc:rock/cobble/andesite>],
    [<item:tfc:rock/cobble/andesite>,<tag:items:forge:nuggets/brass>]]);

    craftingTable.addShaped("create.andesite_alloy2",<item:kubejs:incompleted_andesite_alloy>,
    [[<tag:items:forge:nuggets/zinc>,<item:tfc:rock/cobble/andesite>],
    [<item:tfc:rock/cobble/andesite>,<tag:items:forge:nuggets/zinc>]]);

#石磨
    recipes.removeRecipe(<item:create:millstone>);
        craftingTable.addShaped("create.millstone",<item:create:millstone>,
    [
        [<tag:items:forge:rods/wooden>,<tag:items:tfc:lumber>,<tag:items:forge:rods/wooden>],
        [<tag:items:forge:gears/stone>,<item:create:cogwheel>,<tag:items:forge:gears/stone>],
        [<tag:items:forge:rods/wooden>,<item:tfc:quern>,<tag:items:forge:rods/wooden>]
    ]);
// <recipetype:thermal:smelter>.addRecipe("create.andesite_alloy3", [<item:create:andesite_alloy> % 100, <item:create:andesite_alloy> %50], [<tag:items:forge:nuggets/brass>, <item:tfc:rock/cobble/andesite>], 20, 500);
#动力锯
    craftingTable.remove(<item:thermal:saw_blade>);

    craftingTable.remove(<item:create:mechanical_saw>);
    craftingTable.addShaped('create.mechanical_saw',<item:create:mechanical_saw>,
    [
        [<item:minecraft:air>,<item:thermal:saw_blade>,<item:minecraft:air>],
        [<item:create:cogwheel>,<item:create:shaft>,<item:create:cogwheel>],
        [<item:minecraft:air>,<item:create:andesite_casing>,<item:minecraft:air>]
    ]);
###动力筛子###
    recipes.removeRecipe(<item:createsifter:sifter>);
    craftingTable.addShaped("createsifter.sifter",<item:createsifter:sifter>,
    [
        [<tag:items:minecraft:planks>,<item:create:brass_casing>,<tag:items:minecraft:planks>],
        [<tag:items:minecraft:planks>,<item:create:cogwheel>,<tag:items:minecraft:planks>],
        [<tag:items:forge:stone>,<tag:items:tfc:gear_boxes>,<tag:items:forge:stone>]
    ]);
    recipes.removeRecipe(<item:createsifter:brass_sifter>);

    <recipetype:create:mechanical_crafting>.addRecipe("brass_sifter",
    <item:createsifter:brass_sifter>,
    [
    [<item:minecraft:air>,<item:minecraft:slime_block>,<item:minecraft:slime_block>,<item:minecraft:slime_block>,<item:minecraft:air>],
    [<item:minecraft:blaze_rod>,<item:create:brass_sheet>,<item:create:precision_mechanism>,<item:create:brass_sheet>,<item:minecraft:blaze_rod>],
    [<item:minecraft:blaze_rod>,<item:create:precision_mechanism>,<item:createsifter:sifter>,<item:create:precision_mechanism>,<item:minecraft:blaze_rod>],
    [<item:minecraft:blackstone>,<item:create:brass_sheet>,<item:create:precision_mechanism>,<item:create:brass_sheet>,<item:minecraft:blackstone>],
    [<item:minecraft:air>,<item:minecraft:blackstone>,<item:minecraft:blackstone>,<item:minecraft:blackstone>,<item:minecraft:air>]
    ]);

    <recipetype:createsifter:sifting>.removeByModid("createsifter");

    <recipetype:createsifter:sifting>.addRecipe(
        "sifter1", //配方名
        [
            <item:tfc:ore/small_native_copper> % 8,
            <item:tfc:ore/small_hematite> % 8,
            <item:tfc:ore/small_cassiterite> % 8,
            <item:tfc:ore/small_bismuthinite> % 8,
            <item:tfc:ore/small_sphalerite> % 8,
            <item:tfc:rock/gravel/andesite> % 25//输出物品
        ],
        [
            <tag:items:forge:gravel>, //被筛的物品
            <item:createsifter:andesite_mesh> //使用的筛网
        ]);
    <recipetype:createsifter:sifting>.addRecipe(
        "sifter2", //配方名
        [
            <item:tfc:ore/small_native_gold> % 5,
            <item:tfc:ore/small_native_silver> % 5,
            <item:tfc:ore/small_limonite> % 8,
            <item:tfc:ore/small_malachite> % 8,
            <item:tfc:rock/gravel/andesite> % 30//输出物品
        ],
        [
            <tag:items:forge:gravel>, //被筛的物品
            <item:createsifter:zinc_mesh> //使用的筛网
        ]);
    <recipetype:createsifter:sifting>.addRecipe(
        "sifter3", //配方名
        [
            <item:tfc:ore/small_native_copper> % 8,
            <item:tfc:ore/small_hematite> % 8,
            <item:tfc:ore/small_cassiterite> % 8,
            <item:tfc:ore/small_bismuthinite> % 8,
            <item:tfc:ore/small_sphalerite> % 8,
            <item:tfc:ore/small_native_gold> % 15,
            <item:tfc:ore/small_native_silver> % 15,
            <item:tfc:ore/small_limonite> %8,
            <item:tfc:ore/small_malachite> % 8//输出物品
        ],
        [
            <tag:items:forge:gravel>, //被筛的物品
            <item:createsifter:brass_mesh> //使用的筛网
        ]);
        <recipetype:createsifter:sifting>.addRecipe(
        "sifter4", //配方名
        [
            <item:tfc:ore/gypsum> % 2,
            <item:tfc:ore/graphite> % 2,
            <item:tfc:ore/sulfur> % 2,
            <item:tfc:ore/cinnabar> % 2,
            <item:tfc:ore/saltpeter> % 2,
            <item:tfc:ore/halite> % 2,
            <item:tfc:ore/borax> % 2,
            <item:tfc:ore/amethyst> % 2//输出物品
        ],
        [
            <tag:items:forge:sand>, //被筛的物品
            <item:createsifter:andesite_mesh> //使用的筛网
        ]);
        <recipetype:createsifter:sifting>.addRecipe(
        "sifter5", //配方名
        [
            <item:tfc:ore/gypsum> % 3.5,
            <item:tfc:ore/graphite> % 3.5,
            <item:tfc:ore/sulfur> % 3.5,
            <item:tfc:ore/cinnabar> % 3.5,
            <item:tfc:ore/saltpeter> % 3.5,
            <item:tfc:ore/halite> % 3.5,
            <item:tfc:ore/borax> % 3.5,
            <item:tfc:ore/amethyst> % 3.5,//输出物品
        ],
        [
            <tag:items:forge:sand>, //被筛的物品
            <item:createsifter:brass_mesh> //使用的筛网
        ]);
        <recipetype:createsifter:sifting>.addRecipe(
        "sifter6", //配方名
        [
            <item:ae2:sky_dust> % 4,
            <item:tfc:ore/sylvite> % 8,
            <item:minecraft:bone_meal> % 10,
            <item:thermal:apatite_dust> % 10
        ],
        [
            <tag:items:forge:sand>, //被筛的物品
            <item:createsifter:advanced_brass_mesh> //使用的筛网
        ]);
            <recipetype:createsifter:sifting>.addRecipe(
        "sifter7", //配方名
        [
            <item:ae2:certus_quartz_crystal> % 5.5,
            <item:tfc:ore/sylvite> % 8,
            <item:minecraft:bone_meal> % 10,
            <item:thermal:apatite_dust> % 10
        ],
        [
            <tag:items:forge:gravel>, //被筛的物品
            <item:createsifter:advanced_brass_mesh> //使用的筛网
        ]); 
    craftingTable.remove(<item:createsifter:advanced_brass_mesh>);
    //动力钻头
    craftingTable.remove(<item:create:mechanical_drill>);
    craftingTable.addShaped('mechanical_drill',<item:create:mechanical_drill>,[
        [<item:minecraft:air>,<item:immersiveengineering:drillhead_iron>,<item:minecraft:air>],
        [<item:immersiveengineering:concrete_quarter>,<item:create:andesite_casing>,<item:immersiveengineering:concrete_quarter>],
        [<item:immersiveengineering:concrete_quarter>,<item:create:shaft>,<item:immersiveengineering:concrete_quarter>]
    ]);